c program to print odd numbers from 1 to n using while loop